/*
 * @Author: 曹家睿 17799623735@163.com
 * @Date: 2023-12-12 12:46:14
 * @LastEditors: 曹家睿 17799623735@163.com
 * @LastEditTime: 2023-12-19 17:17:34
 * @FilePath: \mdbj-ui\src\api\statistics\road.js
 * @Description:
 *
 * Copyright (c) 2023 by 曹家睿, All Rights Reserved.
 */
import request from "@/utils/requestNode";

// 按道路编码统计全部道路长度、面积信息
export function getRoadStatistics(data) {
  return request({
    url: "road/statistics/getRoadStatistics",
    method: "post",
    data: data,
  });
}

// 按道路等级统计全部道路长度、面积信息
export function getRoadClassStatistics(data) {
  return request({
    url: "road/statistics/getRoadClassStatistics",
    method: "post",
    data: data,
  });
}

// 按道路等级统计全部道路长度及总面积信息
export function getRoadClassStatisticsSum(data) {
  return request({
    url: "road/statistics/getRoadClassStatisticsSum",
    method: "post",
    data: data,
  });
}

// 统计道路总长度、总面积信息
export function getRoadSumStatistics(data) {
  return request({
    url: "road/statistics/getRoadSumStatistics",
    method: "post",
    data: data,
  });
}
// 按保洁单位统计道路总长度及总面积信息
export function getRoadSumStatisticsByCleanCompany(data) {
  return request({
    url: "road/statistics/getRoadSumStatisticsByCleanCompany",
    method: "post",
    data: data,
  });
}
